<?php
  if (!$_SESSION['area'] == 'login') {
    header('Location: index.php');
  }
  
?>

<div id="dialoge">
  <ul class="header">
    <li>Boardwinia :: by ImmortalNights</li>
  </ul>
  <ul>
    <?php displayLinks(); ?>
  </ul>
  <form action="index.php" method="post">
    <ul>
      <li><label for="username">Username:</label> <input type="text" name="username" id="username" value="<?php echo $username; ?>"/></li>
      <li><input type="submit" name="Login" value="Join Lobby" />
    </ul>
  </form>
</div>
